package ai.people.platform.archives.mapper;

import ai.people.netmon.framework.domain.archives.entity.InformationAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author ligua
* @description 针对表【information_account(信息查询用户行为记录表)】的数据库操作Mapper
* @createDate 2022-06-06 16:11:38
* @Entity ai.people.netmon.framework.domain.archives.entity.InformationAccount
*/
public interface InformationAccountMapper extends BaseMapper<InformationAccount> {

    /**
     * 支付积分
     *
     * @param userId 用户id
     * @param score  积分
     * @return int
     */
    int payScore(@Param("userId") Long userId, @Param("score") Long score);
}




